import { httpForm } from "@/request/http";

//获取可用usdt
const GetUsdt = (params) => {
    return httpForm({
        url:"api/wallet!getUsdt.action",
        method:"post",
        isLoading:false
    }, params)
}

//提现，进入页面，获取session_token
const GetSessionToken = (params) => {
    return httpForm({
        url: "api/withdraw!withdraw_open.action",
        method:"post",
        isLoading: false
    }, params)
};

//提现申请
const WithdrawApply = (params) => {
    return httpForm({
        url: "api/withdraw!apply.action",
        method:"post",
        isLoading: false
    }, params)
};

//提现手续费计算
const WithdrawFee = (params) => {
    return httpForm({
        url: "api/withdraw!fee.action",
        method:"post",
        isLoading: false
    }, params)
};

//提现限额
const WithdrawLimit= (params) => {
    return httpForm({
        url: "api/withdraw!limit.action",
        method:"post",
        isLoading: false
    }, params)
};


//提现列表
const WithdrawList= (params) => {
    return httpForm({
        url: "api/withdraw!list.action",
        method:"post",
        isLoading: false
    }, params)
};


//提现详情
const WithdrawDetail= (params) => {
    return httpForm({
        url: "api/withdraw!get.action",
        method:"post",
        isLoading: false
    }, params)
};



export default {GetUsdt,GetSessionToken, WithdrawApply, WithdrawFee,WithdrawLimit,WithdrawList, WithdrawDetail }

